<include>
  <gateway name="ims{$account.ims_number}">
  <!--/// account username *required* ///-->
  <param name="username" value="+8623{$account.ims_number}@cq.ctcims.cn"/>
  <!--/// auth realm: *optional* same as gateway name, if blank ///-->
  <param name="realm" value="cq.ctcims.cn"/>
  <!--/// username to use in from: *optional* same as  username, if blank ///-->
  <param name="from-user" value="+8623{$account.ims_number}"/>
  <!--/// domain to use in from: *optional* same as  realm, if blank ///-->
  <param name="from-domain" value="cq.ctcims.cn"/>
  <!--/// account password *required* ///-->
  <param name="password" value="{$account.ims_password}"/>
  <!--/// extension for inbound calls: *optional* same as username, if blank ///-->
  <param name="extension" value="+8623{$account.ims_number}"/>
  <!--/// proxy host: *optional* same as realm, if blank ///-->
  <param name="proxy" value="cq.ctcims.cn"/>
  <!--/// send register to this proxy: *optional* same as proxy, if blank ///-->
  <!--<param name="register-proxy" value="mysbc.com"/>-->
  <!--/// expire in seconds: *optional* 3600, if blank ///-->
  <param name="expire-seconds" value="3600"/>
  <!--/// do not register ///-->
  <param name="register" value="true"/>
  <!-- which transport to use for register -->
  <param name="register-transport" value="udp"/>
  <!--How many seconds before a retry when a failure or timeout occurs -->
  <!--<param name="retry-seconds" value="30"/>-->
  <!--Use the callerid of an inbound call in the from field on outbound calls via this gateway -->
  <!--<param name="caller-id-in-from" value="false"/>-->
  <!--extra sip params to send in the contact-->
  <!--<param name="contact-params" value=""/>-->
  <!-- Put the extension in the contact -->
  <!--<param name="extension-in-contact" value="true"/>-->
  <!--send an options ping every x seconds, failure will unregister and/or mark it down-->
  <!--<param name="ping" value="25"/>-->
  <!--<param name="cid-type" value="rpid"/>-->
  <!--rfc5626 : Abilitazione rfc5626 ///-->
  <!--<param name="rfc-5626" value="true"/>-->
  <!--rfc5626 : extra sip params to send in the contact-->
  <!--<param name="reg-id" value="1"/>-->
  </gateway>
</include>
